//
//  DAOUser.h
//  XMDLearn
//
//  Created by apple on 16/4/12.
//  Copyright © 2016年 hao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DAOBasic.h"
#import "MessageDto.h"
#import "User.h"

// 用户DAO接口
@interface DAOUser : DAOBasic

// 登陆
-(void)loginWithphoneNumber:(NSString *)phoneNumber passWord:(NSString *)passWord successHandler:(void(^)(User *user))successBlock errorHandler:(void(^)(NSString *code,NSString *message))errorBlock;

@end
